# 导包
from dubboclient import DubboClient

# 创建实例，指定ip和port
dubboclt = DubboClient("211.103.136.244", 6502)

member = {"fileNumber": "C89757", "name": "cloud", "phoneNumber": "13800006878", "password": "123456",
          "class": "com.itheima.pojo.Member"}

# 使用实例，调用invoke（服务名、函数名、实参）
res = dubboclt.invoke("MemberService", "add", member)

# 获取并打印响应结果
print("响应结果的数据类型", type(res))
print("响应结果", res)
